package com.sc.nft.entity.vo.ecology;

import com.sc.nft.dto.ResonanceServiceCenterCoefficientConfDTO;
import com.sc.nft.enums.EcologyHatchShareProfitMethodConfTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 修改生态分润配置VO
 *
 * @Author：LiGen
 * @Package：com.sc.nft.entity.vo.ecology
 * @Project：sc_metago
 * @name：AdminEcologyIncomeConfUpdateVO
 * @Date：2024/7/15 15:49
 * @Filename：AdminEcologyIncomeConfUpdateVO
 */
@Data
public class AdminEcologyIncomeConfUpdateVO {

    @ApiModelProperty(value = "配置id")
    @NotNull(message = "配置id不能为空")
    private Long confId;

    @ApiModelProperty(value = "分润类型 FIXED_PROPORTION:固定比例,SMELTER_SMELTER:谁熔炼归谁")
    @NotNull(message = "分润类型不能为空")
    private EcologyHatchShareProfitMethodConfTypeEnum type;

    @ApiModelProperty(value = "是否开启共振 固定比例时不开启")
    private Boolean resonanceStatus;

    @ApiModelProperty(value = "共振服务中心系数")
    private List<ResonanceServiceCenterCoefficientConfDTO> resonanceServiceCenterCoefficientConfDTOList;

    @ApiModelProperty(value = "共振服务中心DaoId")
    private Long resonanceServiceCenterDaoId;

    @ApiModelProperty(value = "生态分润配置详情")
    @NotNull(message = "生态分润配置详情不能为空")
    @Size(min = 1, message = "生态分润配置详情不能为空")
    private List<AdminEcologyIncomeConfDetailsVO> adminEcologyIncomeConfDetailsVOList;
}
